Microprocessor-controlled servo device for carrying and moving camera

ABSTRACT

A microprocessor-controlled servo device carrying and driving camera, mainly comprises a microprocessor-chip-processed control circuit, an I/O port a servo set. A user operate a keyboard to input a control signal input command and control signal input termination command, microprocessor will read the relating program and data stored in a memory, then inputs a corresponding control pulse signal to a sever set after control process, and drives a servo to rotate after comparison, magnification and operation in the servo set. The servo set comprises two driving circuit two servos that carry and move a camera horizontally and vertically. Under the control of the present invention, the servos that carry and move the camera can do many functions of camera monitoring, such as the locating memorizing of a plurality of preset points, cruise scanning, alarm outputting and automatic tracking. The device can provide the user to see whether the input command is correct and condition of the system execution through the display of a LCD. The device can do tracking photographing and emit an alarm immediately through the control of input termination when abnormal situation happens in a camera monitoring circumstance.

TECHNICAL FIELD

[0001] The present invention relates to a microprocessor-controlled servo device for carrying and moving camera, and more particularly to a device, which comprises a microprocessor chip processing control circuit, an I/O port and a servo set.

BACKGROUND OF THE PRESENT INVENTION

[0002] Two kinds of servomotors available in the market are AC or DC servomotor for industrial automation and radio control DC servomotor. The structure and control of industrial servomotor are complicated, for the reason that the control accuracy requirement is high, even if the normal class also needs 1-mm accuracy. When such kind of motor is used on carrying and moving a camera, the occupied space and cost are relatively large, the operation and setting must depend on professionals, and the use and maintenance are relatively complicate. The photographing angle of a standard lens of a normal camera is at vision angle of 40 to 50 degrees most, but even if a difference in vision angle is 100 mm in the image taken by the above-mentioned camera is not very important. The usual application field of the industrial servomotor is in industrially automatic precision mechanical facilities, and not in camera monitoring.

[0003] A servomotor used by the normal radio control toy is applied on such as radio control airplane, boat and car. Such kind of servomotor comprises an input control signal, driving amplification circuit, DC motor and potentiometer. The input control signal is a positive pulse control signal emitted from a radio emitter operated by a user; the frequency range is approximately at 27 MHz or 40 MHz according to country and area. The driving amplification circuit is manufactured into an IC in most products made by the advanced countries such as the United States, Japan and Germany, the driving amplification circuit receives the positive pulse control signal transmitted from a radio emitter and drives DC motor to take a forward or backward rotation or stop after a comparison operation. The motions of the servomotor are only three types: forward rotation, backward rotation and stop. The forward and backward rotations must be processed by using an operator's hand to move an operating shaft constructed by the potentiometer to and fro; the servomotor rotates forward when the shaft is moved forward, and rotates backward when it is moved backward. The shaft automatically springs back to the middle position when the operator takes the hand away therefrom, the servomotor stops. Its motion is simple enough to fit for using on the operation of a normal manual remote control toy, and also because its motion is too simple, the function thereof is not enough in practical use when it is used on carrying and moving a camera to do a circumstance monitoring. Therefore, it must be revised. Moreover, the rotating angle of its forward and backward rotations is limited by the structure of the servomotor, the largest rotating angle it can rotate is 60 degrees or so, such kind of angle ranges can be utilized flexibly in the field of radio control toy, but it will obviously form a dead angle in camera monitoring owing to the deficiency in the rotating angle of the camera, when it is used on carrying and moving the camera. The monitoring operation is manual instead of automatic, it is difficult in practical use.

[0004] Another radio control servomotor is available now comprises a DC motor, a deceleration gear set, a potentiometer and a driving circuit. The main shaft of the DC motor is connected with the rotating shaft by means of the gear set, the rotation of the DC motor also drives the potentiometer to rotate. The rotating shaft of the potentiometer is lengthened to extend out to be taken as a loading main rotating shaft of the servomotor, therefore, for the reason that the loading main rotating shaft is limited to both of the rotating angle range of the potentiometer and the rotation structure of the potentiometer itself, it has a limited rotation range, i.e. the total rotating angle is about 120°. consequently, it is quite difficult to expand the rotating angle range of the DC motor to be double times thereof or even close to 360°. The radio control servomotor can only be used in toy and is no way to be used in carrying and moving camera. It has two deficiencies in practical use: one is that the motions that can be operated are only three kinds, i.e. forward rotation, backward rotation and stop, and must be done manually; and another is that owing to the deficiency of the rotation structure of the potentiometer itself, causing the total rotating angle plus approximate 10% error to be only about 120 degrees. It is no way to conquer the dead angle of camera monitoring effectively.

[0005] Thus it can be seen that the above-mentioned two traditional art to apply servomotors on caring and moving the camera to do camera monitoring is not inconvenient, so improvement on it is necessary.

SUMMARY OF THE PRESENT INVENTION

[0006] The main object of the present invention is to provide a camera with a function memorizing a plurality of preset point position, enabling the camera can automatically jump to do tracking photography from first position point to nth position point in sequence according to the preset time period when the microprocessor control processing system receives “a plurality of preset points automatic tracking” command. The preset time can be input and set by input control button.

[0007] Another object of the present invention is to provide a camera with a function memorizing a position after the position is correctly adjusted, enabling the camera can take a forward rotation or backward rotation whenever necessary so as to choose locations that need to be photographed, when the microprocessor control processing system receives “forward rotation or backward rotation” commands.

[0008] Still another object of the present invention is to provide a camera with a function that can memorize the N positions after the positions are adjusted correctly, the camera can memorize N memory points of the preset positions at any time through the operation function selection of the input control and memory button, when the microprocessor control processing system receives “memory” command.

[0009] Still, still another object of the present invention is to provide a low-speed tour-programming function, enabling the camera processes the motion tour programming camera monitoring from first to the nth memory location point according to the preset programming speed in the preset N memory position points, when the microprocessor control processing system receives “programming” command.

[0010] Still, still, still another object of the present invention is to provide a function with abnormality-invading, the camera can automatically track to the position point of preset memory designated by termination input function item, and lock the target to process photographing and emit alarm signals, when the microprocessor control processing system receives “termination emergency input” command.

[0011] Still, still, still, still another object of the present invention is to provide a display of LCD, enabling a operator to see whether the input commands and data are correct, and the states of the system execution.

[0012] We can use the following two methods to solve the problems: one is to use a microprocessor processing control system to generating a corresponding control signal, and another is to use an improved servo set.

[0013] 1. the microprocessor single chip processing control system comprises single chip control circuits and corresponding software. The single chip control circuit besides has supply power and clock pulse generating circuit needed for the single chip, mainly comprises an input signal operating keyboard, single chip, memory, LCD and I/O port. Its main function is to generate a corresponding control pulse signal automatically. The corresponding software program, mainly stores several corresponding data about locating position of deceleration DC motor of the servo set and program executing a series of commands into the memory. A rotation range that the deceleration DC motor rotates 360 degrees effectively is L, cut L to be N equal parts, each different equal part has a corresponding control pulse signal as its representation, the pulse widths T for all pulse signals are different. For example, a pulse width corresponding to the first starting point position Ls of the effective range L is Ts, a pulse width corresponding to the middle point position Lm of the range L is Tm, and a pulse width corresponding to the end position Le is Te. For an example, a preferred embodiment of the present invention is to cut the whole range to be 1400 equal parts so that corresponding 1400 different pulse widths T*1400 will be store in the memory. When an operator input an input signal or external termination control signal, microprocessor chip will read relative data output in the memory. The input control pulse width must be at opposite direction with the pulse width of the reference pulse signal generated by the servo set so as to add their difference and output the differential pulse width, the description concerning the differential pulse width on the rotation of the servo will be stated later.

[0014] 2. the servo set comprises two servo, which rotate horizontally and perpendicularly respectively, one of them carries and moves a camera, each said servo consists of a deceleration DC motor, a meshing gear set, a motor main shaft, a potentiometer and a driving circuit, said main shaft of said deceleration DC motor and a rotating shaft are connected by said meshing gear set, enabling said deceleration DC motor to drive said potentiometer to rotate. In order to let the rotating angle of the deceleration DC motor be larger than the angle of the rotation range of the potentiometer, the teeth number of the meshing gear meshed with the main shaft of the motor is larger than the teeth number of the meshing gear meshed with the rotating shaft of the potentiometer. In another words, when the motor rotates a unit distance, the rotation of the potentiometer is smaller than the unit distance. Therefore, it enables the motor to rotate larger or equal to 360 degrees, and not to be limited to the mechanical structure limitation of the potentiometer, which makes the rotation absolutely smaller than 360 degrees.

[0015] For further describing how the differential pulse width signal influences the rotation of the servo, each servo moreover pairs with a set of driving circuit. The driving circuit comprises a pulse comparator, a pulse amplifier, a motor driver, a reference pulse signal generator and etc., the main function is when a control pulse signal generated from the microprocessor chip processing control circuit is input, trigger the reference pulse signal generator to generate a reference pulse signal at opposite direction with the control pulse signal. After the pulse widths of these two pulses are compared in the pulse comparator, a differential pulse width signal that is the difference between them is generated. If the differential pulse width is positive pulse width, the deceleration DC motor takes a forward rotation through the driving amplification of the driving amplification circuit. Vice versa, If the differential pulse width is negative pulse width, the deceleration DC motor takes a backward rotation through the driving amplification of the driving amplification circuit. If the differential pulse width is equal to zero, it means that the two pulse widths are equal, no signal is processed in the driving amplification circuit, then the DC motor stop to rotate.

[0016] The camera driven and moved by the device of the present invention, the camera monitoring thereof can do positioning memory, tour programming, alarm output and automatic tracking and etc.

[0017] The display of LCD can let a operator see whether the input commands and data are correct, and the states of the system execution.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018]FIG. 1 is a block diagram of the present invention, showing the principle of a servo device for microprocessor control carried and moved camera;

[0019]FIG. 2 is a block diagram of the present invention, showing a pulse comparison and mathematical operation;

[0020]FIG. 3A is a microprocessor chip processing control circuit diagram of a preferred embodiment of the present invention; and

[0021]FIG. 3B is a block diagram of a preferred embodiment of the present invention, showing a function display on LCD.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0022] Referring to FIG. 1, a servo device of microprocessor controlled and driven camera mainly comprises a microprocessor single-chip processed and controlled circuit 1, three output/input interfaces 21, 22 and 23 and a servo module 3. The microprocessor single-chip processed and controlled circuit 1 comprises an input control signal 11, a single chip 121, a memory 122, two displacement buffers and a LCD 13.

[0023] The three input/output interfaces are an interruption input control signal interface 21; an alarm output interface 22 and a servo module interface 23.

[0024] The servo module 3 comprises two servos 31 and 32 and a camera 33. As the figure shown, the inner structures of the two servos are same, except one servo is utilized to drive a camera. Here, we designate the servo 31 as this one servo. The servo 31 comprises a deceleration DC motor 311, a meshing gear set 312, a potentiometer 313 and a driving circuit, as shown in FIG. 2., the driving circuit 314 comprises a comparator 3141, a pulse enlarger 3142, a motor driver 3143 and a reference pulse signal generator 3144. The camera 33 is loaded on the servo 31 of the servo module.

[0025] As shown in FIGS. 3A and 3B, after the power of the device of the present invention is started, an operator can use eleven input buttons in the input control signal 11. Among them, CA1 through CA4 are four serial numbers buttons to represent four cameras that the device can control, “UP” button is utilized to control the deceleration DC motor to take a position rotation, “DOWN” button is utilized to control the deceleration DC motor to take a negative rotation, “TAB” button is utilized to move a cursor that can represent a function item indicator to a next function item, “INT” button is pressed to set an interruption input parameter, “GO” button is pressed once to start the execution of the device system and pressed again to stop the execution, “MEM” button is utilized to input the previous-mentioned set parameter to a memory, and “SCAN/STEP” is pressed to start scanning function, pressed again to start stepping function. FIG. 3B shows the display about the states of the previous-mentioned input buttons on the LCD; two rows of display are totaled on the LCD.

[0026] There are three function zones shown at the upper row, they are: a camera assigned number zone “CX”, such as, C1 represents camera No. 1; a preset memory range zone “RANGE”, showing preset memory points at this time, which can be set up to 99 points most; an execution type zone “DLY/SPD”, showing a delay time setting range, which can be set arbitrary from 1 through 99 seconds, from a preset memory point to another preset memory point in automatic preset point tracing function, or showing a display of a scanning speed setting, which can be set arbitrary from 1 through 99 seconds, in a scanning function at this time.

[0027] There are also three function zones shown at the lower row, they are: an executing preset memory point STEP X; “H: horizontal or positive rotation coordinate indication (horizontal display)”, positive rotation range being cut to be 1400 equal components in the preferred embodiment; “V: vertical or negative rotation coordinate indication (vertical display)”, negative rotation range being cut to be 1400 equal components in the preferred embodiment.

[0028] The digits and data shown on the previous-mentioned LCD displayer are all stored in Electrically Erasable Programmable Read-Only Memory EEPROM, the former preset parameter values will not disappear even after power cut, it means the former data will be shown on LCD when we restart the computer.

[0029] Referring to FIG. 1, for convenience and brevity, we only take a usually used button “UP” as an example to explain how the input control circuit works. After the device is started, press the “UP” button down, the device system will execute the work according to the former preset parameters condition. When the “UP” is pressed down, input displacement buffer 124 will scan the signal of “UP” button, and then, the single chip 121 of the microprocessor invoke the relative subprogram and read the relative data T1 of the memory 122, after these processes, a positive control pulse signal 1231 will be output by means of the output interface 23 to the one end of the pulse comparator 3141 of the driving amplification circuit 314.

[0030] Next, please referring to FIG. 2, the another end of the comparator 3141 is reference negative pulse 31441 output by the reference pulse generator 3144 of the servo 31, the comparator 3141 processes the add comparison of the pulse widths of these tow pulses, if the difference pulse width ΔT of the add result of the positive pulse width 1231 and negative pulse width 31441 is larger than zero, it means that the difference pulse width is positive, after the amplification of the pulse amplifier 3142 and driving of the motor driver 3143, the deceleration DC motor 311 takes a forward rotation. When deceleration motor 311 is taking a forward rotation, it drives the meshing gear set 312 to take a forward rotation, the rotation will cause R value of the original potentiometer to increase a unit to become R+1 so that the reference pulse generator will generate a bigger negative reference pulse width (resistance value R*static capacity C=time pulse width T) to enter comparator 3141 to continue comparison operation. If a positive difference is still generated, i.e. ΔT>0, the rotation result of the motor 311 and potentiometer 313 will generate a much more bigger value of (R+1)+1 resistance value, it will generate a much bigger T2 b to compare with positive control pulse width, repeat it again and again, until the pulse widths of both are same, i.e. ΔT=0, no-difference pulse is amplified to be no signal to motor driver 3143 by pulse width amplifier 3142, the motor 311 will stop the rotation. But, if an operator keeps pressing down “UP” button and doesn't release it, the judgement result of will cause an original relative value T1 a to add 1 to become a bigger value T1 b, enabling T1 a, T1 b . . . T1 n to continue to generate a bigger value of positive control pulse, wherein T1 a<T1 b, T1 b<T1 c and etc., then output a bigger value of control pulse width signal into comparator by means of the output adapter port, this will change the original condition ΔT=0, to become ΔT>0, the positive difference pulse with causes the motor 311 to rotate positively again, its potentiometer also rotate positively again. Therefore, due to the continuous positive rotation of the potentiometer 313, a series of different resistance impedance values T2 a, T2 b, T2 c . . . T2 n, wherein T2 a<T2 b, T2 b<T2 c and etc. So a different resistance will generate another different bigger value of negative reference pulse width T2 c again to continue to enter comparator 3141 to compare, and so repeat it again and again, enabling the difference pulse width ΔTn of addition comparison result at every time always is equal to positive, causing the deceleration DC motor always to rotate positively, until the user releases “UP” button, or until the motor rotates to a limit.

[0031] Likewise, the deceleration DC motor 311 will take a reverse rotation when “DOWN” button is pressed down.

[0032] When “TAB” is pressed down, a displacement mark point cursor will be shown on the screen of LCD, the displacement mark point will move from each function indication zone to next zone when every time it is pressed down, the zone that the displacement mark point locates means the zone that the function thereof can be executed at present. For an example, when the displacement mark point is moved x coordinate function zone on the monitor, press “UP” down, the x coordinate value will be increased successively, meanwhile, the servo that represents horizontal rotating direction of x-axis takes a positive rotation. Likewise, when the displacement mark point is moved to the y coordinate function zone on the monitor, press “FORWARD” button down, the y coordinate value will be increased successively, meanwhile, the servo that represents vertical rotating direction of x-axis takes a positive rotation.

[0033] The above disclosure is not intended as limiting. Those skilled in the art will readily observe that the numerous modifications and alternations of the device may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims. 

What is claimed is:
 1. A servo device with camera controlled and driven by microcomputer, mainly comprising a microprocessor processing control circuit, an I/O port and a servo set: Said microprocessor chip control circuit, comprising two parts of a single chip control circuit and relating software program. Wherein said single chip control circuit mainly comprising a keyboard operating input signals, a single chip, a memory, a monitor and a I/O port, except comprising a power supply and a circuit generating clock pulses needed for said single chip; said relating software program, mainly storing relating data of locating positions of a servo deceleration DC motor and main and subroutine programs judged and processed by said device system processed by said single chip in said memory; Said I/O port at least comprising a interruption signal input port, an alarm output port and a corresponding control pulse signal output port; Said servo set at least comprising one set, wherein said servo set comprises two servos, one is a servo rotating in horizontal direction, another is a servo rotating relatively in vertical direction, one of said two servos drives a camera, each said consists of a deceleration DC motor, a meshing gear set, a motor main shaft, a potentiometer and a driving circuit, said main shaft of said deceleration DC motor and a rotating shaft are connected by said meshing gear set, enabling said deceleration DC motor to drive said potentiometer to rotate; said meshing gear set at least comprises a driving gear meshing with said main shaft of said deceleration DC motor and a compulsive gear meshing with said rotating shaft of said potentiometer, the unit torque of said driving gear is larger than the unit torque of said compulsive gear so as to ensure that the rotation angle of said deceleration DC motor is larger than the rotating angle of said potentiometer.
 2. The device of claim 1, wherein said monitor can be a LCD, LED, CRT or other computer screen, said monitor at least can display data values of a remote controllable camera, preset memory point, adjustable speed, programming tour of an adjustable time and adjustable range zone and outside connection interruption signals and coordination display values of a rotation range of said servo.
 3. The device of claim 1, wherein said device may do a plurality of preset memory points, may control more than one camera independently, may adjust said servo can do a preset memory points tracking and scanning speed and time and zone range settings, and may receive more than one set of interruption signal and alarm signal from outside.
 4. The device of claim 1, wherein said camera can be instead of such as a television set or illuminator.
 5. The device of claim 1, wherein said servo set can be a combination of more than one set, such as a combination of camera and other object.
 6. The device of claim 1, wherein the main shaft of said servo for carrying said carried object is a transmission shaft extended outward from the main rotating shaft of said deceleration DC motor in said servo, and not from the rotating shaft of said potentiometer in said servo. 